local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1, L21_1, L22_1, L23_1, L24_1, L25_1, L26_1, L27_1, L28_1, L29_1, L30_1, L31_1, L32_1, L33_1
L0_1 = {}
L0_1.group_id = 240021019
L1_1 = {}
L2_1 = {}
L2_1.config_id = 19001
L2_1.monster_id = 21011001
L3_1 = {}
L3_1.x = 7.834
L3_1.y = 0.002
L3_1.z = -5.267
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 300.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L4_1 = 1008
L5_1 = 1011
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.affix = L3_1
L3_1 = {}
L3_1.config_id = 19002
L3_1.monster_id = 21010501
L4_1 = {}
L4_1.x = 5.009
L4_1.y = 0.002
L4_1.z = -7.082
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 320.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = {}
L5_1 = 1008
L6_1 = 1011
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.affix = L4_1
L4_1 = {}
L4_1.config_id = 19003
L4_1.monster_id = 21011001
L5_1 = {}
L5_1.x = 1.856
L5_1.y = 0.002
L5_1.z = -8.286
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 345.0
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = {}
L6_1 = 1008
L7_1 = 1011
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.affix = L5_1
L5_1 = {}
L5_1.config_id = 19004
L5_1.monster_id = 21010501
L6_1 = {}
L6_1.x = -2.611
L6_1.y = 0.002
L6_1.z = -8.593
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 25.0
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L7_1 = 1008
L8_1 = 1011
L6_1[1] = L7_1
L6_1[2] = L8_1
L5_1.affix = L6_1
L6_1 = {}
L6_1.config_id = 19005
L6_1.monster_id = 21011001
L7_1 = {}
L7_1.x = -6.395
L7_1.y = 0.002
L7_1.z = -6.281
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 45.0
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L8_1 = 1008
L9_1 = 1011
L7_1[1] = L8_1
L7_1[2] = L9_1
L6_1.affix = L7_1
L7_1 = {}
L7_1.config_id = 19006
L7_1.monster_id = 21010501
L8_1 = {}
L8_1.x = -8.99
L8_1.y = 0.002
L8_1.z = -2.704
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 75.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L9_1 = 1008
L10_1 = 1011
L8_1[1] = L9_1
L8_1[2] = L10_1
L7_1.affix = L8_1
L8_1 = {}
L8_1.config_id = 19007
L8_1.monster_id = 21011001
L9_1 = {}
L9_1.x = -9.593
L9_1.y = 0.002
L9_1.z = 1.853
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 105.0
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L10_1 = 1008
L11_1 = 1011
L9_1[1] = L10_1
L9_1[2] = L11_1
L8_1.affix = L9_1
L9_1 = {}
L9_1.config_id = 19008
L9_1.monster_id = 21010501
L10_1 = {}
L10_1.x = 8.844
L10_1.y = 0.002
L10_1.z = -2.319
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 270.0
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L11_1 = 1008
L12_1 = 1011
L10_1[1] = L11_1
L10_1[2] = L12_1
L9_1.affix = L10_1
L10_1 = {}
L10_1.config_id = 19009
L10_1.monster_id = 21011001
L11_1 = {}
L11_1.x = 9.853
L11_1.y = 0.002
L11_1.z = 0.846
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 260.0
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L12_1 = 1008
L13_1 = 1011
L11_1[1] = L12_1
L11_1[2] = L13_1
L10_1.affix = L11_1
L11_1 = {}
L11_1.config_id = 19010
L11_1.monster_id = 21010501
L12_1 = {}
L12_1.x = 8.252
L12_1.y = 0.002
L12_1.z = 5.184
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 240.0
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L13_1 = 1008
L14_1 = 1011
L12_1[1] = L13_1
L12_1[2] = L14_1
L11_1.affix = L12_1
L12_1 = {}
L12_1.config_id = 19011
L12_1.monster_id = 21011001
L13_1 = {}
L13_1.x = 4.573
L13_1.y = 0.002
L13_1.z = 7.95
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 220.0
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L14_1 = 1008
L15_1 = 1011
L13_1[1] = L14_1
L13_1[2] = L15_1
L12_1.affix = L13_1
L13_1 = {}
L13_1.config_id = 19012
L13_1.monster_id = 21010501
L14_1 = {}
L14_1.x = 0.497
L14_1.y = 0.002
L14_1.z = 9.171
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 180.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L14_1 = {}
L15_1 = 1008
L16_1 = 1011
L14_1[1] = L15_1
L14_1[2] = L16_1
L13_1.affix = L14_1
L14_1 = {}
L14_1.config_id = 19013
L14_1.monster_id = 21011001
L15_1 = {}
L15_1.x = -3.784
L15_1.y = 0.002
L15_1.z = 8.27
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 160.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 1
L15_1 = {}
L16_1 = 1008
L17_1 = 1011
L15_1[1] = L16_1
L15_1[2] = L17_1
L14_1.affix = L15_1
L15_1 = {}
L15_1.config_id = 19014
L15_1.monster_id = 21010501
L16_1 = {}
L16_1.x = -6.471
L16_1.y = 0.002
L16_1.z = 5.873
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 140.0
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 1
L16_1 = {}
L17_1 = 1008
L18_1 = 1011
L16_1[1] = L17_1
L16_1[2] = L18_1
L15_1.affix = L16_1
L16_1 = {}
L16_1.config_id = 19019
L16_1.monster_id = 21010701
L17_1 = {}
L17_1.x = 6.342
L17_1.y = 0.002
L17_1.z = -6.288
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 1
L17_1 = {}
L17_1.config_id = 19020
L17_1.monster_id = 21010701
L18_1 = {}
L18_1.x = 3.685
L18_1.y = 0.002
L18_1.z = -7.74
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 1
L18_1 = {}
L18_1.config_id = 19021
L18_1.monster_id = 21010701
L19_1 = {}
L19_1.x = -4.526
L19_1.y = 0.002
L19_1.z = -7.688
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 1
L19_1 = {}
L19_1.config_id = 19022
L19_1.monster_id = 21010701
L20_1 = {}
L20_1.x = -7.968
L20_1.y = 0.002
L20_1.z = -4.393
L19_1.pos = L20_1
L20_1 = {}
L20_1.x = 0.0
L20_1.y = 45.0
L20_1.z = 0.0
L19_1.rot = L20_1
L19_1.level = 1
L20_1 = {}
L20_1.config_id = 19023
L20_1.monster_id = 21010701
L21_1 = {}
L21_1.x = -9.47
L21_1.y = 0.002
L21_1.z = -0.458
L20_1.pos = L21_1
L21_1 = {}
L21_1.x = 0.0
L21_1.y = 90.0
L21_1.z = 0.0
L20_1.rot = L21_1
L20_1.level = 1
L21_1 = {}
L21_1.config_id = 19024
L21_1.monster_id = 21010701
L22_1 = {}
L22_1.x = -8.477
L22_1.y = 0.002
L22_1.z = 3.792
L21_1.pos = L22_1
L22_1 = {}
L22_1.x = 0.0
L22_1.y = 0.0
L22_1.z = 0.0
L21_1.rot = L22_1
L21_1.level = 1
L22_1 = {}
L22_1.config_id = 19025
L22_1.monster_id = 21010701
L23_1 = {}
L23_1.x = -4.969
L23_1.y = 0.002
L23_1.z = 7.012
L22_1.pos = L23_1
L23_1 = {}
L23_1.x = 0.0
L23_1.y = 0.0
L23_1.z = 0.0
L22_1.rot = L23_1
L22_1.level = 1
L23_1 = {}
L23_1.config_id = 19026
L23_1.monster_id = 21010701
L24_1 = {}
L24_1.x = -1.742
L24_1.y = 0.002
L24_1.z = 8.745
L23_1.pos = L24_1
L24_1 = {}
L24_1.x = 0.0
L24_1.y = 0.0
L24_1.z = 0.0
L23_1.rot = L24_1
L23_1.level = 1
L24_1 = {}
L24_1.config_id = 19027
L24_1.monster_id = 21010701
L25_1 = {}
L25_1.x = 2.446
L25_1.y = 0.002
L25_1.z = 8.685
L24_1.pos = L25_1
L25_1 = {}
L25_1.x = 0.0
L25_1.y = 0.0
L25_1.z = 0.0
L24_1.rot = L25_1
L24_1.level = 1
L25_1 = {}
L25_1.config_id = 19028
L25_1.monster_id = 21010701
L26_1 = {}
L26_1.x = 6.249
L26_1.y = 0.002
L26_1.z = 6.461
L25_1.pos = L26_1
L26_1 = {}
L26_1.x = 0.0
L26_1.y = 0.0
L26_1.z = 0.0
L25_1.rot = L26_1
L25_1.level = 1
L26_1 = {}
L26_1.config_id = 19029
L26_1.monster_id = 21010701
L27_1 = {}
L27_1.x = 8.935
L27_1.y = 0.002
L27_1.z = 3.019
L26_1.pos = L27_1
L27_1 = {}
L27_1.x = 0.0
L27_1.y = 0.0
L27_1.z = 0.0
L26_1.rot = L27_1
L26_1.level = 1
L27_1 = {}
L27_1.config_id = 19030
L27_1.monster_id = 21010701
L28_1 = {}
L28_1.x = 8.318
L28_1.y = 0.002
L28_1.z = -3.71
L27_1.pos = L28_1
L28_1 = {}
L28_1.x = 0.0
L28_1.y = 0.0
L28_1.z = 0.0
L27_1.rot = L28_1
L27_1.level = 1
L28_1 = {}
L28_1.config_id = 19031
L28_1.monster_id = 21010701
L29_1 = {}
L29_1.x = 9.442
L29_1.y = 0.002
L29_1.z = -0.86
L28_1.pos = L29_1
L29_1 = {}
L29_1.x = 0.0
L29_1.y = 0.0
L29_1.z = 0.0
L28_1.rot = L29_1
L28_1.level = 1
L29_1 = {}
L29_1.config_id = 19032
L29_1.monster_id = 21020101
L30_1 = {}
L30_1.x = 5.347
L30_1.y = 0.002
L30_1.z = 9.729
L29_1.pos = L30_1
L30_1 = {}
L30_1.x = 0.0
L30_1.y = 180.0
L30_1.z = 0.0
L29_1.rot = L30_1
L29_1.level = 1
L30_1 = {}
L30_1.config_id = 19033
L30_1.monster_id = 21020101
L31_1 = {}
L31_1.x = -7.096
L31_1.y = 0.002
L31_1.z = 8.173
L30_1.pos = L31_1
L31_1 = {}
L31_1.x = 0.0
L31_1.y = 180.0
L31_1.z = 0.0
L30_1.rot = L31_1
L30_1.level = 1
L31_1 = {}
L31_1.config_id = 19034
L31_1.monster_id = 21020101
L32_1 = {}
L32_1.x = 7.729
L32_1.y = 0.002
L32_1.z = -8.098
L31_1.pos = L32_1
L32_1 = {}
L32_1.x = 0.0
L32_1.y = 0.0
L32_1.z = 0.0
L31_1.rot = L32_1
L31_1.level = 1
L32_1 = {}
L32_1.config_id = 19035
L32_1.monster_id = 21020101
L33_1 = {}
L33_1.x = -9.094
L33_1.y = 0.002
L33_1.z = -6.149
L32_1.pos = L33_1
L33_1 = {}
L33_1.x = 0.0
L33_1.y = 0.0
L33_1.z = 0.0
L32_1.rot = L33_1
L32_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
L1_1[18] = L19_1
L1_1[19] = L20_1
L1_1[20] = L21_1
L1_1[21] = L22_1
L1_1[22] = L23_1
L1_1[23] = L24_1
L1_1[24] = L25_1
L1_1[25] = L26_1
L1_1[26] = L27_1
L1_1[27] = L28_1
L1_1[28] = L29_1
L1_1[29] = L30_1
L1_1[30] = L31_1
L1_1[31] = L32_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 19015
L2_1.gadget_id = 70900205
L3_1 = {}
L3_1.x = 6.004
L3_1.y = -3.044
L3_1.z = 2.012
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 0.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 19036
L3_1.gadget_id = 70950060
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 0.0
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1019016
L2_1.name = "ANY_MONSTER_LIVE_19016"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_LIVE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_LIVE_19016"
L2_1.action = "action_EVENT_ANY_MONSTER_LIVE_19016"
L3_1 = {}
L3_1.config_id = 1019017
L3_1.name = "CHALLENGE_FAIL_19017"
L4_1 = EventType
L4_1 = L4_1.EVENT_CHALLENGE_FAIL
L3_1.event = L4_1
L3_1.source = "16"
L3_1.condition = ""
L3_1.action = "action_EVENT_CHALLENGE_FAIL_19017"
L4_1 = {}
L4_1.config_id = 1019018
L4_1.name = "CHALLENGE_SUCCESS_19018"
L5_1 = EventType
L5_1 = L5_1.EVENT_CHALLENGE_SUCCESS
L4_1.event = L5_1
L4_1.source = "16"
L4_1.condition = ""
L4_1.action = "action_EVENT_CHALLENGE_SUCCESS_19018"
L5_1 = {}
L5_1.config_id = 1019037
L5_1.name = "GADGET_STATE_CHANGE_19037"
L6_1 = EventType
L6_1 = L6_1.EVENT_GADGET_STATE_CHANGE
L5_1.event = L6_1
L5_1.source = ""
L5_1.condition = "condition_EVENT_GADGET_STATE_CHANGE_19037"
L5_1.action = "action_EVENT_GADGET_STATE_CHANGE_19037"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 19015
L3_1[1] = L4_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 19015
L6_1 = 19036
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_LIVE_19016"
L6_1 = "CHALLENGE_FAIL_19017"
L7_1 = "CHALLENGE_SUCCESS_19018"
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 19001 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_LIVE_19016 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2, L10_2, L11_2, L12_2, L13_2, L14_2, L15_2, L16_2, L17_2, L18_2, L19_2
  L2_2 = ScriptLib
  L2_2 = L2_2.ActiveChallenge
  L3_2 = A0_2
  L4_2 = 16
  L5_2 = 3
  L6_2 = 300
  L7_2 = 10
  L8_2 = 0
  L9_2 = 0
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : active_challenge"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AutoMonsterTide
  L3_2 = A0_2
  L4_2 = 17
  L5_2 = 240021019
  L6_2 = {}
  L7_2 = 19022
  L8_2 = 19023
  L9_2 = 19019
  L10_2 = 19020
  L11_2 = 19021
  L12_2 = 19024
  L13_2 = 19025
  L14_2 = 19026
  L15_2 = 19027
  L16_2 = 19028
  L17_2 = 19029
  L18_2 = 19030
  L19_2 = 19031
  L6_2[1] = L7_2
  L6_2[2] = L8_2
  L6_2[3] = L9_2
  L6_2[4] = L10_2
  L6_2[5] = L11_2
  L6_2[6] = L12_2
  L6_2[7] = L13_2
  L6_2[8] = L14_2
  L6_2[9] = L15_2
  L6_2[10] = L16_2
  L6_2[11] = L17_2
  L6_2[12] = L18_2
  L6_2[13] = L19_2
  L7_2 = 99
  L8_2 = 2
  L9_2 = 2
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.AutoMonsterTide
  L3_2 = A0_2
  L4_2 = 18
  L5_2 = 240021019
  L6_2 = {}
  L7_2 = 19032
  L8_2 = 19033
  L9_2 = 19034
  L10_2 = 19035
  L6_2[1] = L7_2
  L6_2[2] = L8_2
  L6_2[3] = L9_2
  L6_2[4] = L10_2
  L7_2 = 99
  L8_2 = 1
  L9_2 = 1
  L2_2 = L2_2(L3_2, L4_2, L5_2, L6_2, L7_2, L8_2, L9_2)
  if 0 ~= L2_2 then
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_LIVE_19016 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.RefreshGroup
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 240021019
  L4_2.suite = 1
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.RefreshGroup
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 240021009
  L4_2.suite = 1
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_FAIL_19017 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.RefreshGroup
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 240021019
  L4_2.suite = 1
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.RefreshGroup
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 240021009
  L4_2.suite = 1
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_CHALLENGE_SUCCESS_19018 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = A1_2.param2
  if 19036 == L2_2 then
    L2_2 = GadgetState
    L2_2 = L2_2.GearStart
    L3_2 = A1_2.param1
    if L2_2 == L3_2 then
      goto lbl_11
    end
  end
  L2_2 = false
  do return L2_2 end
  ::lbl_11::
  L2_2 = true
  return L2_2
end
condition_EVENT_GADGET_STATE_CHANGE_19037 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.StopChallenge
  L3_2 = A0_2
  L4_2 = 16
  L5_2 = 0
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_GADGET_STATE_CHANGE_19037 = L1_1
